package com.api.user.service;
import com.api.core.config.AuthUser;
import com.api.user.model.UserFriendApply;
import com.api.core.service.Service;
import com.api.core.response.Result;

/**
 * Created by wanghuiwen on 2021/03/31.
 */
public interface UserFriendApplyService extends Service<UserFriendApply> {
   Result add(Long userId, AuthUser fansId);
   UserFriendApply findByUserIdAndFansId(Long userId,Long fansId);
   UserFriendApply findByUserIdAndFansIdA(Long userId,Long fansId);
   Result list(String search, String order, Integer page, Integer size);
}
